package org.dyz.banana.platform.sample.eurakaclient2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
//增减熔断降级注解
@EnableCircuitBreaker
public class FeignApp 
{
    public static void main( String[] args )
    {
        SpringApplication.run(FeignApp.class, args);
    }
}
